<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>欢迎使用</title>
    <style>
        #bodyPart{
            margin: 0 auto;
            width: 500px;
            height: 700px;
            /* line-height: 700px; */
            /* align-items: center; */
        }
        #form{
            display: flex;
            border: 1px solid black;
            box-shadow: 5px 5px 5px black;
            padding: 10px;
            width: 400px;
            height: 500px;
            flex-direction: column;
            justify-content: space-around;
            margin: 0 auto;
        }
        h1{
            width: 400px;
            height: 50px;
            margin: 0 auto;
            font-family: '宋体';
            color: cadetblue;
        }
    </style>
</head>
<body>
    <div id="bodyPart">
        <h1>欢迎使用记账本 注册</h1>
        <form action="/api/register" method="post" id="form">
            <label for="nickname">用户名：</label>
            <input type="text" id="nickname" name="nickname">
            <label for="userID">账户：</label>
            <input type="number" id="userID" name="userID">
            <label for="password">密码：</label>
            <input type="password" name="userPwd">
            <label for="email">邮箱：</label>
            <input type="email" id="email" name="userEmail">
            <button id="sign">注册</button>
        </form>
    </div>
</body>
</html>